package com.itheima.ydd.service;

import com.itheima.ydd.common.ResultData;
import com.itheima.ydd.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author author
 * @since 2022-05-22
 */
public interface ISysMenuService extends IService<SysMenu> {

    //新增菜单
    void addMenu(SysMenu sysMenu);

    //删除菜单
    void deleteMenu(Integer id);

    //修改菜单
    void updateMenu(SysMenu sysMenu);

    //回显数据
    ResultData getInfo(Integer id);
}
